﻿@model App.Web.Models.ChangePwdViewModel
@{
    ViewBag.Title = "ChangePwd";
    Layout = "~/Views/Shared/_RootLayout.cshtml";
}
<div class="signup">
    <h3>
        修改密码</h3>
    @using (Html.BeginForm("ChangePwd", "Setting", FormMethod.Post, new { Class = "edit_password" }))
    {
        @Html.ValidationSummary(true)
        <div class="need_write">
            <img src="@Url.Content("~/Content/images/need_img.jpg")" alt="必须项" /><span>=必须项</span></div>
        <div class="passwords">
            <table cellpadding="0" cellspacing="0" class="password_table">
                <tr>
                    <td align="right">
                        当前密码：
                    </td>
                    <td>
                        @Html.PasswordFor(x => x.CurrentPwd, new { Class = "need_input_psw" })
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        新密码：
                    </td>
                    <td>
                        @Html.PasswordFor(x => x.NewPwd, new { Class = "need_input_psw" })
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        确认密码：
                    </td>
                    <td>
                        @Html.PasswordFor(x => x.ConfirmPwd, new { Class = "need_input_psw" })
                    </td>
                </tr>
            </table>
            <p class="remark">
                重要提示：每天互联网都会大量用户的账号存在着严重被盗的风险。如果你正在使用与其他网站相同的密码，建议你尽快修改。</p>
            <div class="cr">
            </div>
        </div>
        <div class="line">
        </div>
        <div class="register_btns">
            <button type="submit" class="button">
                <span>立即更新</span> @*<img src="@Url.Content("~/Content/images/update.jpg")" />*@</button>
        </div>
    }
</div>
